package com.bi.myndk;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
//找不到native方法是因为报名没搞对
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Toast.makeText(MainActivity.this, ""+getStringFromNative(), Toast.LENGTH_SHORT).show();
    }

    public native String getStringFromNative();
static {
    System.loadLibrary("Bi");
}

}
